package com.lxs.spring6.boot3.configure;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Value("${person.name:name}")
    String name;
    @Value("${person.age:10}")
    Integer age;
}